package com.ruoyi.question.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * 问题答案表 sys_df_question_child
 * 
 * @author ruoyi
 * @date 2019-09-12
 */
public class DfQuestionChild extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 问题id */
	private Long questionId;
	/**  */
	private String questionTitle;
	/**  */
	private String questionInfo;
	/** (1,追加问题,2.答案) */
	private String questionType;
	/**  */
	private Date createtime;
	/**  */
	private Date updatetime;
	/**  */
	private String isdelete;

	private List<DfFile> files;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setQuestionId(Long questionId) 
	{
		this.questionId = questionId;
	}

	public Long getQuestionId() 
	{
		return questionId;
	}
	public void setQuestionTitle(String questionTitle) 
	{
		this.questionTitle = questionTitle;
	}

	public String getQuestionTitle() 
	{
		return questionTitle;
	}
	public void setQuestionInfo(String questionInfo) 
	{
		this.questionInfo = questionInfo;
	}

	public String getQuestionInfo() 
	{
		return questionInfo;
	}
	public void setQuestionType(String questionType) 
	{
		this.questionType = questionType;
	}

	public String getQuestionType() 
	{
		return questionType;
	}
	public void setCreatetime(Date createtime) 
	{
		this.createtime = createtime;
	}

	public Date getCreatetime() 
	{
		return createtime;
	}
	public void setUpdatetime(Date updatetime) 
	{
		this.updatetime = updatetime;
	}

	public Date getUpdatetime() 
	{
		return updatetime;
	}
	public void setIsdelete(String isdelete) 
	{
		this.isdelete = isdelete;
	}

	public String getIsdelete() 
	{
		return isdelete;
	}

	public List<DfFile> getFiles() {
		return files;
	}

	public void setFiles(List<DfFile> files) {
		this.files = files;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("questionTitle", getQuestionTitle())
            .append("questionInfo", getQuestionInfo())
            .append("questionType", getQuestionType())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("isdelete", getIsdelete())
            .toString();
    }
}
